package model.command;

import common.Command;

/**
 * 请求文件命令.
 *
 * @author guanweichen
 * @version 2010-12-21
 */
public class SendFileCommand extends Command {

	private static final long serialVersionUID = 761085985415348135L;
	private String fileName;
	/** 客户端当前文件更新监听端口 */
	private Integer port;
	/** 跳过多少字符 */
	private Long fileSeek;
	public SendFileCommand(String fileName) {
		setCommand(GET_FILE);
		this.fileName = fileName;
	}
	public String getFileName() {
		return fileName;
	}
	public void setFileName(String fileName) {
		this.fileName = fileName;
	}
	public Integer getPort() {
		return port;
	}
	public void setPort(Integer port) {
		this.port = port;
	}
	public Long getFileSeek() {
		return fileSeek;
	}
	public void setFileSeek(Long fileSeek) {
		this.fileSeek = fileSeek;
	}
}
